pub mod common {
    tonic::include_proto!("common");
}

pub mod build_node {
    tonic::include_proto!("build_node");
}

pub mod build_manager {
    tonic::include_proto!("build_manager");
}

pub mod auth {
    tonic::include_proto!("auth");
}

#[cfg(test)]
pub mod tests {
    use crate::auth::RegisterRequest;

    #[test]
    fn test_serialize() {
        let req = RegisterRequest {
            user_name: "".to_string(),
            password: "".to_string(),
        };

        let json = serde_json::to_string(&req).unwrap();
        print!("{}", json);
    }
}
